var path = require('path');
console.log(path.normalize('/foo/bar//baz/asdf/qu'));
console.log(path.relative('/data/orandea/test/aaa','/data/orandea/test2/aaa2'));